package com.hezuti.common.dao;

import java.util.List;

public interface Countable {
	/**
	 * 
	 * @param q
	 * @return
	 */
	public int count(Queryable q);
	/**
	 * 
	 * @param sql
	 * @param params
	 * @return
	 */
	public int count(String sql, List<Object> params);
}
